package com.dlc.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.bean.model.StockChangeReason;
import com.dlc.shop.bean.model.StockChangeReasonLang;
import org.apache.ibatis.annotations.Param;

/**
 *
 *
 * @author lth
 * @date 2020-08-26 15:39:09
 */
public interface StockChangeReasonLangMapper extends BaseMapper<StockChangeReasonLang> {

    /**
     * 统计出入库原因数量
     * @param stockChangeReason
     * @param reason
     * @return
     */
    int countReason(@Param("stockChangeReason") StockChangeReason stockChangeReason,@Param("reason") String reason);
}
